﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using TMS_Master.TmsEnum;
using Volo.Abp.Application.Dtos;

namespace TMS_Master.Dto
{
    public class Cargo_InformationUpdateDto 
    {
        /// <summary>
        /// 货物名称
        /// </summary>
        [StringLength(20)]
        [Required]
        public string CargoName { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        [Required]
        public Guid TypeID { get; set; }

        /// <summary>
        /// 材质
        /// </summary>
        [Required]
        public Guid TextureID { get; set; }

        /// <summary>
        /// 规格
        /// </summary>
        [StringLength(20)]
        [Required]
        public string SkuName { get; set; }

        /// <summary>
        /// 产地
        /// </summary>
        [Required]
        public Guid AddrID { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        [Required]
        public int Number { get; set; }

        /// <summary>
        /// 用途描述
        /// </summary>
        [StringLength(200)]
        public string UseInfo { get; set; }

        /// <summary>
        /// 申请人
        /// </summary>
        [StringLength(20)]
        public string Proposer { get; set; }

        /// <summary>
        /// 期望交付日期
        /// </summary>
        public DateTime ExpectTime { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [StringLength(200)]
        public string Remark { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 审批状态
        /// </summary>
        public Status IsState { get; set; } = (Status)1;

        /// <summary>
        /// 审批人
        /// </summary>
        [StringLength(20)]
        public string Approver { get; set; } = "--";

        /// <summary>
        /// 删除状态
        /// </summary>
        public int IsDeleted { get; set; }
    }
}
